package com.cn.ssh2.demo.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.cn.ssh2.demo.entity.User;
import com.cn.ssh2.demo.service.TestService;

public class Ssh2DemoAction {
	
	@Autowired
	private TestService t;
	
	private User user;
	
	public String execute(){
		System.out.println("Ssh2DemoAction");
		t.test();
		return "success";
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
